import request from '@/utils/request'

export function listtcUsercab(query) {
  return request({
    url: '/material/tcUsercab/list',
    method: 'get',
    params: query
  })
}

export function createtcUsercab(data) {
  return request({
    url: '/material/tcUsercab/create',
    method: 'post',
    data
  })
}

export function readtcUsercab(data) {
  return request({
    url: '/material/tcUsercab/get/' + data.id,
    method: 'get'
  })
}

export function updatetcUsercab(data) {
  return request({
    url: '/material/tcUsercab/update',
    method: 'post',
    data
  })
}

export function deletetcUsercab(data) {
  return request({
    url: '/material/tcUsercab/delete',
    method: 'post',
    data
  })
}
